//
//  MyLoadView.m
//  FinancialProduct
//
//  Created by Stella on 2017/9/18.
//  Copyright © 2017年 maq. All rights reserved.
//

#import "MyLoadView.h"

@implementation MyLoadView
+ (MyLoadView*)sharedView {
    static dispatch_once_t once;
    
    static MyLoadView *sharedView;
#if !defined(SV_APP_EXTENSIONS)
    dispatch_once(&once, ^{ sharedView = [[self alloc] initWithFrame:[[[UIApplication sharedApplication] delegate] window].bounds]; });
#else
    dispatch_once(&once, ^{ sharedView = [[self alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; });
#endif
    return sharedView;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
